﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace Ams.Mvc.Bootstrap
{
    internal static class InternalExtensions
    {
        internal static MvcHtmlString ToMvcHtmlString(this TagBuilder tagBuilder)
        {
            return new MvcHtmlString(tagBuilder.ToString());
        }
        internal static MvcHtmlString ToMvcHtmlString(this TagBuilder tagBuilder, TagRenderMode tagRenderMode)
        {
            return new MvcHtmlString(tagBuilder.ToString(tagRenderMode));
        }
    }
}
